Parse number with thousands separator